import {
	request
} from './http.js'

// 登录
export const login = params => request('post', '/WeChatLogin', params)
// 退出登录
export const logout = params => request('get', '/ExitLogin', params)
// 获得用户信息
export const getUserInfo = params => request('get', '/GetUserInfo', params)
// 更新用户信息
export const updateUserInfo = params => request('post', '/UploadUserInfo', params)
// 我的面试列表
export const getInterviewList = params => request('get', '/GetMyJobList', params)
// 更新头像
export const updateAvatar = params => request('get', '/UploadEmployeeavatar', params)
// 我的简历
export const getMyResume = params => request('get', '/GetEmployeeInfo', params)
// 更新简历
export const updateMyResume = params => request('post', '/UploadEmployeeInfo', params)
// 我的收藏职位列表
export const getCollectJobList = params => request('get', '/GetMyCollectJobList', params)
// 关于我们
export const about = params => request('get', '/GetContactUsInfo', params)
// 注册协议
export const agreement = params => request('get', '/GetRegInfo', params)